package com.youlai.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.common.base.BaseEntity;
import lombok.*;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * @author 张雨润
 * @date 2025/3/20 13:54
 * @Description 用户积分记录
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sp_user_points")
public class UserPoints extends BaseEntity {
    @Serial
    private static final long serialVersionUID = -1923492036283404004L;
    private Long userId;
    private BigDecimal totalPoints;
    private BigDecimal remainPoints;
}
